package edu.scau;

import edu.scau.payment.config.AliPayConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.transaction.PlatformTransactionManager;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@MapperScan("edu.scau.**.mapper")
@EnableTransactionManagement
@EnableAsync
public class MisApplication {
    public static void main(String[] args) {
        SpringApplication.run(MisApplication.class, args);
        System.out.println("MIS开发平台启动成功");
    }

}